package inutan.common.generator;

import inutan.common.config.LoginConfig;
import org.ricks.common.lang.Sequence;

/**
 * userId 生成器
 */
public class UserIdGenerator {


    private static Sequence userIdCreator =  new Sequence(LoginConfig.loginId,0);

    public static long generator() {
        return userIdCreator.nextId();
    }
}
